import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ProgressDialog extends Dialog {

  final RxDouble? progressValue;

  const ProgressDialog({this.progressValue, super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
        padding: const EdgeInsets.all(30),
        alignment: Alignment.center,
        child: Center(child: Obx(() => LinearProgressIndicator(value: progressValue?.value,semanticsValue: '100',))));
  }
}
